package com.yellowpage.client.data;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * NspUserAccount entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="NSP_USER_ACCOUNT")

public class NspUserAccount  implements java.io.Serializable {


    // Fields    
 
     private Long id;
     private String mobileNo;
     private String password;
     private Timestamp registTime;
     private String accountType;
     private String accountUser;
     private String submitter;
     private Timestamp submitTime;
     private String updateUser;
     private Timestamp updateTime;
     private String description;


    // Constructors

    /** default constructor */
    public NspUserAccount() { 
    }

    
    /** full constructor */
    public NspUserAccount(String mobileNo, String password, Timestamp registTime, String accountType, String accountUser, String submitter, Timestamp submitTime, String updateUser, Timestamp updateTime, String description) {
        this.mobileNo = mobileNo;
        this.password = password;
        this.registTime = registTime;
        this.accountType = accountType;
        this.accountUser = accountUser;
        this.submitter = submitter;
        this.submitTime = submitTime;
        this.updateUser = updateUser;
        this.updateTime = updateTime;
        this.description = description;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="assigned")
    @Id
    @GeneratedValue(generator="generator")
    
    @Column(name="ID", unique=true, nullable=false)

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    @Column(name="MOBILENO", length=65535)

    public String getMobileNo() {
        return this.mobileNo;
    }
    
    public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }
    
    @Column(name="PASSWORD", length=65535)

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    @Column(name="REGISTTIME", length=0)

    public Timestamp getRegistTime() {
        return this.registTime;
    }
    
    public void setRegistTime(Timestamp registTime) {
        this.registTime = registTime;
    }
    
    @Column(name="ACCOUNTTYPE", length=65535)

    public String getAccountType() {
        return this.accountType;
    }
    
    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }
    
    @Column(name="ACCOUNTUSER", length=65535)

    public String getAccountUser() {
        return this.accountUser;
    }
    
    public void setAccountUser(String accountUser) {
        this.accountUser = accountUser;
    }
    
    @Column(name="SUBMITTER", length=65535)

    public String getSubmitter() {
        return this.submitter;
    }
    
    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }
    
    @Column(name="SUBMITTIME", length=0)

    public Timestamp getSubmitTime() {
        return this.submitTime;
    }
    
    public void setSubmitTime(Timestamp submitTime) {
        this.submitTime = submitTime;
    }
    
    @Column(name="UPDATEUSER", length=65535)

    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    @Column(name="UPDATETIME", length=0)

    public Timestamp getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }


    
    @Column(name="DESCRIPTION", length=65535)

	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}









}